import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import GoodsList from '@/components/GoodsList'
import Shopcart from '@/components/Shopcart'


Vue.use(Router)

export default new Router({
  routes: [
    {path:"/",component:GoodsList},
    {path:"/shopcart",component:Shopcart}
  ]
})
